package com.myway.dto.payment.oceanpayment;

import java.io.Serializable;

public class OceanpaymentParams implements Serializable {

    private String account;//Oceanpayment 账户
    private String terminal;//账户号下的终端号
    private String signValue;//交易安全签名，用于验证交易的安全性。使用 SHA256 加密，明文加密结构
    private String backUrl;//返回支付信息的网站 URL 地址 用于浏览器跳转
    private String noticeUrl;//服务器回调 URL 地址，用于交易结果推送及其他业务状态推送  可选
    private String methods;//支付方式，值为 Credit Card
    private String pages;//影响持卡人看到的支付页面0: PC 端页面 (默认) 1: 手机端页面  可选
    private String order_number;//网站订单号
    private String order_currency;//币种
    private String order_amount;//订单号的交易金额
    private String order_notes;//订单备注 可选
    private String billing_firstName;//消费者的名  如果没有该值必须传：消费者 id 或 N/A
    private String billing_lastName;//消费者的姓  如果没有该值必须传：消费者 id 或 N/A
    private String billing_email;//消费者的邮箱 如果没有该值必须传：消费者 id@域名或简称.com
    private String billing_phone;//消费者的电话 如果没有该值必须传：N/A
    private String billing_country;//消费者的账单国家  采用国际标准 ISO 3166 代码，如：美国 — US 如果没有该值必须传： N/A
    private String billing_state;//消费者的州（省、郡）如果没有该值可传： N/  选填
    private String billing_city;//消费者的城市  如果没有该值可默认传：N/A
    private String billing_address;//消费者的详细地址
    private String billing_zip;//消费者的邮编
    private String travel_adult ;//成人 0-999 数字
    private String travel_child;//儿童  0-999 数字
    private String travel_infant;//婴儿 0-999 数字
    private String travel_electronicTicket;//是否为电子票1 为 True，其他值为 Flase
    private String travel_customerInfoJson;//以 Json 字符串形式


    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getTerminal() {
        return terminal;
    }

    public void setTerminal(String terminal) {
        this.terminal = terminal;
    }

    public String getSignValue() {
        return signValue;
    }

    public void setSignValue(String signValue) {
        this.signValue = signValue;
    }

    public String getBackUrl() {
        return backUrl;
    }

    public void setBackUrl(String backUrl) {
        this.backUrl = backUrl;
    }

    public String getNoticeUrl() {
        return noticeUrl;
    }

    public void setNoticeUrl(String noticeUrl) {
        this.noticeUrl = noticeUrl;
    }

    public String getMethods() {
        return methods;
    }

    public void setMethods(String methods) {
        this.methods = methods;
    }

    public String getPages() {
        return pages;
    }

    public void setPages(String pages) {
        this.pages = pages;
    }

    public String getOrder_number() {
        return order_number;
    }

    public void setOrder_number(String order_number) {
        this.order_number = order_number;
    }

    public String getOrder_currency() {
        return order_currency;
    }

    public void setOrder_currency(String order_currency) {
        this.order_currency = order_currency;
    }

    public String getOrder_amount() {
        return order_amount;
    }

    public void setOrder_amount(String order_amount) {
        this.order_amount = order_amount;
    }

    public String getOrder_notes() {
        return order_notes;
    }

    public void setOrder_notes(String order_notes) {
        this.order_notes = order_notes;
    }

    public String getBilling_firstName() {
        return billing_firstName;
    }

    public void setBilling_firstName(String billing_firstName) {
        this.billing_firstName = billing_firstName;
    }

    public String getBilling_lastName() {
        return billing_lastName;
    }

    public void setBilling_lastName(String billing_lastName) {
        this.billing_lastName = billing_lastName;
    }

    public String getBilling_email() {
        return billing_email;
    }

    public void setBilling_email(String billing_email) {
        this.billing_email = billing_email;
    }

    public String getBilling_phone() {
        return billing_phone;
    }

    public void setBilling_phone(String billing_phone) {
        this.billing_phone = billing_phone;
    }

    public String getBilling_country() {
        return billing_country;
    }

    public void setBilling_country(String billing_country) {
        this.billing_country = billing_country;
    }

    public String getBilling_state() {
        return billing_state;
    }

    public void setBilling_state(String billing_state) {
        this.billing_state = billing_state;
    }

    public String getBilling_city() {
        return billing_city;
    }

    public void setBilling_city(String billing_city) {
        this.billing_city = billing_city;
    }

    public String getBilling_address() {
        return billing_address;
    }

    public void setBilling_address(String billing_address) {
        this.billing_address = billing_address;
    }

    public String getBilling_zip() {
        return billing_zip;
    }

    public void setBilling_zip(String billing_zip) {
        this.billing_zip = billing_zip;
    }

    public String getTravel_adult() {
        return travel_adult;
    }

    public void setTravel_adult(String travel_adult) {
        this.travel_adult = travel_adult;
    }

    public String getTravel_child() {
        return travel_child;
    }

    public void setTravel_child(String travel_child) {
        this.travel_child = travel_child;
    }

    public String getTravel_infant() {
        return travel_infant;
    }

    public void setTravel_infant(String travel_infant) {
        this.travel_infant = travel_infant;
    }

    public String getTravel_electronicTicket() {
        return travel_electronicTicket;
    }

    public void setTravel_electronicTicket(String travel_electronicTicket) {
        this.travel_electronicTicket = travel_electronicTicket;
    }

    public String getTravel_customerInfoJson() {
        return travel_customerInfoJson;
    }

    public void setTravel_customerInfoJson(String travel_customerInfoJson) {
        this.travel_customerInfoJson = travel_customerInfoJson;
    }

    public OceanpaymentParams(String account, String terminal, String signValue, String backUrl, String noticeUrl, String methods, String pages, String order_number, String order_currency, String order_amount, String order_notes, String billing_firstName, String billing_lastName, String billing_email, String billing_phone, String billing_country, String billing_state, String billing_city, String billing_address, String billing_zip, String travel_adult, String travel_child, String travel_infant, String travel_electronicTicket, String travel_customerInfoJson) {
        this.account = account;
        this.terminal = terminal;
        this.signValue = signValue;
        this.backUrl = backUrl;
        this.noticeUrl = noticeUrl;
        this.methods = methods;
        this.pages = pages;
        this.order_number = order_number;
        this.order_currency = order_currency;
        this.order_amount = order_amount;
        this.order_notes = order_notes;
        this.billing_firstName = billing_firstName;
        this.billing_lastName = billing_lastName;
        this.billing_email = billing_email;
        this.billing_phone = billing_phone;
        this.billing_country = billing_country;
        this.billing_state = billing_state;
        this.billing_city = billing_city;
        this.billing_address = billing_address;
        this.billing_zip = billing_zip;
        this.travel_adult = travel_adult;
        this.travel_child = travel_child;
        this.travel_infant = travel_infant;
        this.travel_electronicTicket = travel_electronicTicket;
        this.travel_customerInfoJson = travel_customerInfoJson;
    }

    public OceanpaymentParams(){}

    @Override
    public String toString() {
        return "OceanpaymentParams{" +
                "account='" + account + '\'' +
                ", terminal='" + terminal + '\'' +
                ", signValue='" + signValue + '\'' +
                ", backUrl='" + backUrl + '\'' +
                ", noticeUr='" + noticeUrl + '\'' +
                ", methods='" + methods + '\'' +
                ", pages='" + pages + '\'' +
                ", order_number='" + order_number + '\'' +
                ", order_currency='" + order_currency + '\'' +
                ", order_amount='" + order_amount + '\'' +
                ", order_notes='" + order_notes + '\'' +
                ", billing_firstName='" + billing_firstName + '\'' +
                ", billing_lastName='" + billing_lastName + '\'' +
                ", billing_email='" + billing_email + '\'' +
                ", billing_phone='" + billing_phone + '\'' +
                ", billing_country='" + billing_country + '\'' +
                ", billing_state='" + billing_state + '\'' +
                ", billing_city='" + billing_city + '\'' +
                ", billing_address='" + billing_address + '\'' +
                ", billing_zip='" + billing_zip + '\'' +
                ", travel_adult='" + travel_adult + '\'' +
                ", travel_child='" + travel_child + '\'' +
                ", travel_infant='" + travel_infant + '\'' +
                ", travel_electronicTicket='" + travel_electronicTicket + '\'' +
                ", travel_customerInfoJson='" + travel_customerInfoJson + '\'' +
                '}';
    }
}